Skip to content

feat: 문서 OCR 검토 흐름 연결 - #294

Merged
hywznn merged 1 commit into
developfrom
feat/document-ocr-review
Aug 8, 2026
Merged

feat: 문서 OCR 검토 흐름 연결#294
hywznn merged 1 commit into
developfrom
feat/document-ocr-review

Conversation

@hywznn

@hywznn hywznn commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

작업 내용

  • Server #112의 OCR 실행·단건 조회·최신 조회·검토 API 타입과 호출 함수를 추가했습니다.
  • 문서 상세에서 최신 OCR 이력을 조회하고, 실행 이력이 없으면 새 OCR을 요청합니다.
  • QUEUED·RUNNING 동안 상태를 polling하고 완료 후 추출 필드와 신뢰도, 검토 사유를 표시합니다.
  • HR 수정값만 corrected_fields로 분리해 승인 요청하며, 반려 시 사유를 필수로 전송합니다.
  • 승인·반려에는 서버 응답의 최신 version을 사용합니다.
  • OCR 승인이 Worker 자동 수정이 아닌 OCR 검토 완료임을 화면에 명시했습니다.
  • 503은 오류 대신 “OCR 기능 준비 중” 상태로 처리합니다.

의존 브랜치

  • integration/0808-documents (문서 업로드·다운로드·상세 기반)

Server

검증

  • npm run lint
  • npm run build
  • npm test -- --run (74 files, 400 tests)
  • OCR 실행 → polling → 수정 승인, 사유 반려, 503 상태를 통합 테스트로 검증

참고

  • 검수 전 병합되지 않도록 Draft로 열었습니다.

@hywznn
hywznn changed the base branch from integration/0808-documents to develop August 8, 2026 17:04
@hywznn
hywznn marked this pull request as ready for review August 8, 2026 17:04
@hywznn
hywznn merged commit e771be7 into develop Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant